# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit cvs mono eutils

ECVS_SERVER="cvs.sourceforge.net:/cvsroot/portage-sharp"
ECVS_MODULE="portage-sharp"
ECVS_LOCALNAME="${PN}"
S=${WORKDIR}/${ECVS_LOCALNAME}

DESCRIPTION="C# binding to gstreamer"
HOMEPAGE="http://www.mono-project.com/"
SRC_URI=""
LICENSE="GPL-2"

SLOT="0"
KEYWORDS="~x86"
IUSE=""
DEPEND=">=dev-dotnet/gtk-sharp-1.9.1"
S=${WORKDIR}/${MY_PN}

src_compile() {
	./autogen.sh || die "./autogen.sh failed"
	econf || die "econf failed"
	emake -j1 || die "make failed"
}

src_install() {
	dodir usr/lib/monodoc/sources
	make GACUTIL_FLAGS="/root ${D}/usr/lib /gacdir /usr/lib /package ${MY_PN}" \
		DESTDIR=${D} install || die "make install failed"
}
